package javax.microedition.lcdui;

import java.util.Hashtable;
import java.util.Vector;

public class List extends Screen implements Choice {
  public static final Command SELECT_COMMAND = new Command("Select", 1, 0);
  // private Vector a;
  public Hashtable Strings = new Hashtable();
  public Hashtable Images = new Hashtable();
  public int Index;
  public int SelectedIndex;

  public List(String paramString, int paramInt) {
    this(paramString, paramInt, null, null);
  }

  public List(String paramString, int paramInt, String[] paramArrayOfString, Image[] paramArrayOfImage) {
    Title = paramString;
  }

  public boolean isSelected(int paramInt) {
    return false;
  }

  public native void AppendListItem(String paramString, Image paramItem);

  public int append(String paramString, Image paramImage) {
    if (paramString == null)
      throw new NullPointerException();
    Strings.put(Index, paramString);
    if (paramImage != null)
      Images.put(Index, paramImage);
    Index++;
    AppendListItem(paramString, paramImage);

    // this.a.add(new a(paramString, paramImage, null, this));
    return Index;
  }

  public int getFitPolicy() {
    return 0;
  }

  public int getSelectedFlags(boolean[] paramArrayOfboolean) {
    return 0;
  }

  public int getSelectedIndex() {
    return SelectedIndex;
  }

  public int size() {
    return Index;
  }

  public String getString(int paramInt) {
    return (String) Strings.get(paramInt);
  }

  public Font getFont(int paramInt) {
    return null;
  }

  public Image getImage(int paramInt) {
    return (Image) Images.get(paramInt);
  }

  public void delete(int paramInt) {
  }

  public void deleteAll() {
  }

  public void insert(int paramInt, String paramString, Image paramImage) {
  }

  public void removeCommand(Command paramCommand) {
    super.removeCommand(paramCommand);
  }

  public void set(int paramInt, String paramString, Image paramImage) {
  }

  public void setFitPolicy(int paramInt) {
  }

  public void setFont(int paramInt, Font paramFont) {
  }

  public void setSelectCommand(Command paramCommand) {

  }

  public void setSelectedFlags(boolean[] paramArrayOfboolean) {
  }

  public void setSelectedIndex(int paramInt, boolean paramBoolean) {
    SelectedIndex = paramInt;
  }
}

/*
 * Location:
 * C:\Java\rt\javax\microedition\midp_2.1.jar!\javax\microedition\lcdui\List.
 * class
 * Java compiler version: 3 (47.0)
 * JD-Core Version: 1.1.3
 */